This function returns number of entries and descriptive string buffer size for a specified entity. This function can be called before an inquiry routine in order to determine the sizes of the output arrays and descriptive strings.
Result = EOS_SW_NENTRIES( swathID, entrycode [, LENGTH=variable] )
Number of entries or FAIL (–1) in the case of an improper swath id or entry code.
Swath id (long) returned by EOS_SW_CREATE or EOS_SW_ATTACH.
Entrycode (long). Allowable values are:
Set this keyword to a named variable that will contain the length of the string that would be returned by the corresponding inquiry routine, as a long integer.
In this example, we determine the number of dimension mapping entries.
nmaps = EOS_SW_NENTRIES(swathID, 2)
5.2 |
Introduced |